package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.CustomerUpgrade;

public interface CustomerUpgradeService {

	CustomerUpgrade findById(int id);

	void saveCustomerUpgrade(CustomerUpgrade customerUpgrade);

	void deleteCustomerUpgrade(int id);

	CustomerUpgrade searchCustomerUpgrade(String orderId);

	List<CustomerUpgrade> searchCustomerUpgrade(int packageDataId);

	Page<CustomerUpgrade> searchCustomerUpgrade(int packageId, Date fromDate,
			Date toDate, String orderBy, GridPramDTO gridPramDTO);
}
